#pragma once

class SelectionRectangle
{
private:
	int x1, x2;
	int y1, y2;

public:
	void setStartpoint(int x, int y) { SelectionRectangle::x1 = x; SelectionRectangle::y1 = y; setEndpoint(x,y); };
	void setEndpoint(int x, int y) { SelectionRectangle::x2 = x; SelectionRectangle::y2 = y; };

	int getX1() { return x1; }
	int getX2() { return x2; }
	int getY1() { return y1; }
	int getY2() { return y2; }

	SelectionRectangle(void);
};

